﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Net5ApiAndEfMySql.DtoModel;
using Net5ApiAndEfMySql.IService;
using VueAndNetCoreEfApi.DtoModel.SystemAdmin;
using VueAndNetCoreEfApi.PoModel.SystemAdmin;

namespace VueAndNetCoreEfApi.IService.SystemAdmin
{
     public interface IOwnerService : IBaseService
    {

         PagerResult<OwnerPo> GetPageList(SearchModel m);

         bool OwnerAdd(OwnerDto Owner);
         bool DelOwnerById(int ow_id);
         OwnerPo GetOwnerById(int ow_id);

         bool OwnerUpdate(OwnerPo owner);
    }
}
